#include <iostream>

class Human
{
    public: //权限
    /*类属性*/
    int age;

    /*类方法*/
    int  ageadd(int year)
    {
        age += year;
        return age;
    }

};

int main()
{
    Human h;
    h.age = 25; 
    std::cout << "Age before adding: " << h.age << std::endl;
    h.ageadd(10);
    std::cout << "Age after adding: " << h.age << std::endl;
    return 0;
}